package com.peoit.honeycomb.application;

import java.util.List;

import com.peoit.honeycomb.domain.SmsTemplate;
import com.peoit.honeycomb.domain.repository.EntityRepository;

public interface SmsTemplateApplication extends EntityRepository {
	/**
	 * 获取所有短信模板
	 * 
	 * @return
	 */
	public List<SmsTemplate> getAllSmsTemplate();

	/**
	 * 激活短信模板
	 * 
	 * @return
	 */
	public boolean activeSmsTemplate(String type, String id);

	/**
	 * 保存短信模板
	 * 
	 * @param st
	 * @return
	 */
	public boolean saveSmsTemplate(SmsTemplate st);
}
